﻿<%@ Page Language="C#" MasterPageFile="~/Hospitals/Master/HospitalsMaster.Master"
    AutoEventWireup="true" CodeBehind="PurchaseGoodsSetCompany.aspx.cs" Inherits="HZ.DrugTrade.Web.Hospitals.Procurement.PurchaseGoodsSetCompany"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="PurchaseGoodsList.aspx">配送企业设置</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                产品名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                规格型号：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutLook" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                单位：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                        <tr>
                            <td align="right">
                                生产企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProduceCompany_SC" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                项目：&nbsp;
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlProject" runat="server">
                                </asp:DropDownList>
                            </td>
                            <%--<td align="right">
                                包装：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPack" runat="server"></asp:TextBox>
                            </td><td align="right">
                                转换系数：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtFactor" runat="server" MaxLength="5"></asp:TextBox>
                            </td>--%>
                        </tr>
                        <tr>
                            
                            
                            
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn" />
                    <hz:HzLinkButton ID="lbnSwitch" runat="server" CommandArgument="simple" OnClick="lbnSwitch_Click"
                        Text="高级查询"></hz:HzLinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的采购目录！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
             <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <asp:BoundField DataField="Unit" HeaderText="单位">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <%--<asp:BoundField DataField="Factor" HeaderText="转换系数">
                <HeaderStyle Width="30px" />
            </asp:BoundField>--%>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:BoundField DataField="ProcurePrice" HeaderText="采购限价" DataFormatString="{0:N4}">
                <HeaderStyle Width="55px" />
            </asp:BoundField>
            <asp:BoundField DataField="ProjectName" HeaderText="项目" />
            <asp:TemplateField HeaderText="配送企业">
                <ItemTemplate>
                    <hz:HzLinkButton ID="btnSelect" runat="server" OnClientClick='<%# GetURLScript("PurchaseCompanyUpdate.aspx?procureCatalogId="+Eval("ProcureCatalogID"))%>'
                        CausesValidation="false" Text='<%# Eval("Company_PS") %>' ToolTip="点击进入修改配送企业"
                        OperateType="编辑" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <asp:Button runat="server" ID="btnFinish" CssClass="btn" Text="完成设置" PostBackUrl="~/Hospitals/Procurement/PurchaseGoodsList.aspx" />
    </div>
</asp:Content>
